{include file="inc/header.html"} 
<?php
$this->_var['dpagecss'][] = $this->_var['TMPL_REAL']."/css/deal.css";
$this->_var['dpagecss'][] = $this->_var['TMPL_REAL']."/css/deal_log.css";
$this->_var['dpagecss'][] = $this->_var['TMPL_REAL']."/css/fancybox.css";
$this->_var['dpagejs'][] = $this->_var['TMPL_REAL']."/js/jquery.fancybox.js";
$this->_var['dpagejs'][] = $this->_var['TMPL_REAL']."/js/deal.js";
$this->_var['dcpagejs'][] = $this->_var['TMPL_REAL']."/js/deal.js";
$this->_var['dpagejs'][] = $this->_var['TMPL_REAL']."/js/deal_log.js";
$this->_var['dcpagejs'][] = $this->_var['TMPL_REAL']."/js/deal_log.js";
$this->_var['dpagejs'][] = $this->_var['TMPL_REAL']."/js/discover.js";
$this->_var['dcpagejs'][] = $this->_var['TMPL_REAL']."/js/discover.js";
?>
<link rel="stylesheet" type="text/css" href="{function name="parse_css" v="$dpagecss"}" />
<script type="text/javascript" src="{function name="parse_script" v="$dpagejs" c="$dcpagejs"}"></script>

<div class="blank"></div>
<div class="shadow_bg">
	<div class="wrap white_box">
		{include file="inc/deal_header.html"}

		
		<div class="deal_box">
			<div class="deal_left">
				<div class="deal_log_title">
					<div class="title">项目最新动态</div>				
					{if $deal_info.user_id eq $user_info.id and $deal_info.is_effect eq 1}
					<div class="ui-button green" id="add_update" rel="green" url="{url r="deal#add_update" p="id=$deal_info.id"}">
						<div>
							<span>更新动态</span>
						</div>
					</div>	
					{/if}
				</div>
				<div class="blank"></div>
				<div class="timeline">
					<div id="pin_box">
					
					{include file="inc/time_line_item.html"}
				
					</div>
					<div class="ajax_loading_log" id="pin_loading" rel="{url r="ajax#dealupdate" e="id=$deal_info.id&p=$current_page"}">加载更多动态</div>
					
					<div class="pages">{$pages}</div>
										
				</div><!--end timeline-->
			</div><!--end left-->
			<div class="deal_right">
				{include file="inc/deal_right.html"}
			</div><!--end right-->
		</div>
		
		<div class="blank"></div>
		
	</div>
</div>
<div class="blank"></div>
{include file="inc/footer.html"} 